[INFO] fetching crate ecopay2 0.1.0...
[INFO] building ecopay2-0.1.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate ecopay2 0.1.0 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate ecopay2 0.1.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5/source/.cargo/config
[INFO] started tweaking crates.io crate ecopay2 0.1.0
[INFO] finished tweaking crates.io crate ecopay2 0.1.0
[INFO] tweaked toml for crates.io crate ecopay2 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate crates.io crate ecopay2 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21991794ce11a516ebf1d3bc78bbf415809195de54431df7f60651b4f4865880
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "21991794ce11a516ebf1d3bc78bbf415809195de54431df7f60651b4f4865880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21991794ce11a516ebf1d3bc78bbf415809195de54431df7f60651b4f4865880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21991794ce11a516ebf1d3bc78bbf415809195de54431df7f60651b4f4865880", kill_on_drop: false }`
[INFO] [stdout] 21991794ce11a516ebf1d3bc78bbf415809195de54431df7f60651b4f4865880
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d861aa58b7ca4dde428ef0e242a7d831d9d6ff255052be984ed17f7cd8025709
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d861aa58b7ca4dde428ef0e242a7d831d9d6ff255052be984ed17f7cd8025709", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling serde v1.0.103
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling schemars v0.5.1
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling snafu-derive v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.103
[INFO] [stderr]    Compiling schemars_derive v0.5.0
[INFO] [stderr]    Compiling snafu v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling serde-json-wasm v0.1.3
[INFO] [stderr]    Compiling cosmwasm v0.7.2
[INFO] [stderr]    Compiling cw-storage v0.2.0
[INFO] [stderr]    Compiling ecopay2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `snafu::ResultExt`
[INFO] [stdout]  --> src/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use snafu::ResultExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec`
[INFO] [stdout]  --> src/contract.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cosmwasm::serde::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized`
[INFO] [stdout]  --> src/contract.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     if (env.message.signer != state.oracle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     else if (state.is_locked == Some(1)) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     } else if (state.status == "DONE") {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (state.ecostate > ecostate) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |             if (ecostate / 100 > 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (payout > total_tokens) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin`
[INFO] [stdout]  --> src/msg.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr};
[INFO] [stdout]   |                       ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log`
[INFO] [stdout]  --> src/state.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response};
[INFO] [stdout]   |                       ^^^                 ^^^^  ^^^^^^^^^       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balances_store`
[INFO] [stdout]   --> src/contract.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 34.19s
[INFO] running `Command { std: "docker" "inspect" "d861aa58b7ca4dde428ef0e242a7d831d9d6ff255052be984ed17f7cd8025709", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d861aa58b7ca4dde428ef0e242a7d831d9d6ff255052be984ed17f7cd8025709", kill_on_drop: false }`
[INFO] [stdout] d861aa58b7ca4dde428ef0e242a7d831d9d6ff255052be984ed17f7cd8025709
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98a4a18142bd66a14ee752fe1a3d5ff66ab94afeb94f0312bc695992eee683da
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "98a4a18142bd66a14ee752fe1a3d5ff66ab94afeb94f0312bc695992eee683da", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cranelift-entity v0.52.0
[INFO] [stderr]    Compiling smallvec v1.3.0
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.52.0
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling target-lexicon v0.9.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling wasmparser v0.45.2
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling parity-wasm v0.41.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.15
[INFO] [stderr]    Compiling bincode v1.2.1
[INFO] [stderr]    Compiling serde_bytes v0.11.3
[INFO] [stderr]    Compiling serde-bench v0.0.7
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stdout] warning: unused import: `snafu::ResultExt`
[INFO] [stdout]  --> src/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use snafu::ResultExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec`
[INFO] [stdout]  --> src/contract.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cosmwasm::serde::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized`
[INFO] [stdout]  --> src/contract.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     if (env.message.signer != state.oracle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     else if (state.is_locked == Some(1)) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     } else if (state.status == "DONE") {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (state.ecostate > ecostate) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |             if (ecostate / 100 > 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (payout > total_tokens) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin`
[INFO] [stdout]  --> src/msg.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr};
[INFO] [stdout]   |                       ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log`
[INFO] [stdout]  --> src/state.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response};
[INFO] [stdout]   |                       ^^^                 ^^^^  ^^^^^^^^^       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balances_store`
[INFO] [stdout]   --> src/contract.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.52.0
[INFO] [stderr]    Compiling cranelift-bforest v0.52.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling blake3 v0.1.5
[INFO] [stderr]    Compiling raw-cpuid v7.0.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling thiserror v1.0.15
[INFO] [stderr]    Compiling parking_lot_core v0.7.1
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling page_size v0.4.2
[INFO] [stderr]    Compiling errno v0.2.5
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling wasmer-runtime-core v0.14.1
[INFO] [stderr]    Compiling ahash v0.2.18
[INFO] [stderr]    Compiling lru v0.3.1
[INFO] [stderr]    Compiling cranelift-codegen v0.52.0
[INFO] [stderr]    Compiling wasmer-middleware-common v0.14.1
[INFO] [stderr]    Compiling wasmer-clif-fork-frontend v0.52.0
[INFO] [stderr]    Compiling cranelift-native v0.52.0
[INFO] [stderr]    Compiling wasmer-clif-fork-wasm v0.52.0
[INFO] [stderr]    Compiling wasmer-clif-backend v0.14.1
[INFO] [stderr]    Compiling cosmwasm-vm v0.7.2
[INFO] [stderr]    Compiling ecopay2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse`
[INFO] [stdout]  --> examples/schema.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^ no `CountResponse` in `msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read tests/../target/wasm32-unknown-unknown/release/ecopay2.wasm: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/integration.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/ecopay2.wasm");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ecopay2`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `ecopay2::msg::CountResponse`
[INFO] [stdout]   --> tests/integration.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use ecopay2::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ no `CountResponse` in `msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]   --> tests/integration.rs:55:42
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Increment` found for enum `HandleMsg`
[INFO] [stdout]   --> tests/integration.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let msg = HandleMsg::Increment {};
[INFO] [stdout]    |                          ^^^^^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]   --> tests/integration.rs:79:42
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `InitMsg` has no field named `count`
[INFO] [stdout]   --> tests/integration.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let msg = InitMsg { count: 17 };
[INFO] [stdout]    |                         ^^^^^ `InitMsg` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `region`, `beneficiary`, `oracle`, `ecostate`, `total_tokens` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg`
[INFO] [stdout]   --> tests/integration.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let msg = HandleMsg::Reset { count: 5 };
[INFO] [stdout]    |                          ^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `Reset` found for enum `HandleMsg`
[INFO] [stdout]    --> tests/integration.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |     let msg = HandleMsg::Reset { count: 5 };
[INFO] [stdout]     |                          ^^^^^ variant not found in `HandleMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `GetCount` found for enum `QueryMsg`
[INFO] [stdout]    --> tests/integration.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let res = query(&mut deps, QueryMsg::GetCount {}).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^^ variant not found in `QueryMsg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `snafu::ResultExt`
[INFO] [stdout]  --> src/contract.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use snafu::ResultExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::serde::to_vec`
[INFO] [stdout]  --> src/contract.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cosmwasm::serde::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SerializeErr`, `dyn_contract_err`, `unauthorized`
[INFO] [stdout]  --> src/contract.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cosmwasm::errors::{contract_err, dyn_contract_err, unauthorized, Unauthorized, Result, SerializeErr};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     if (env.message.signer != state.oracle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/contract.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |     else if (state.is_locked == Some(1)) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:101:15
[INFO] [stdout]     |
[INFO] [stdout] 101 |     } else if (state.status == "DONE") {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (state.ecostate > ecostate) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:108:16
[INFO] [stdout]     |
[INFO] [stdout] 108 |             if (ecostate / 100 > 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (payout > total_tokens) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/contract.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 |         if (env.message.signer != state.owner) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cosmwasm::errors::Error`
[INFO] [stdout]    --> src/contract.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |     use cosmwasm::errors::Error;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalAddr`, `Coin`
[INFO] [stdout]  --> src/msg.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm::types::{Coin, CanonicalAddr, HumanAddr};
[INFO] [stdout]   |                       ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coin`, `CosmosMsg`, `Response`, `log`
[INFO] [stdout]  --> src/state.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cosmwasm::types::{log, CanonicalAddr, Coin, CosmosMsg, Env, Response};
[INFO] [stdout]   |                       ^^^                 ^^^^  ^^^^^^^^^       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balances_store`
[INFO] [stdout]   --> src/contract.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balances_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beneficiary`
[INFO] [stdout]    --> src/contract.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let beneficiary = deps
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beneficiary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/contract.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut balances_store = PrefixedStorage::new(PREFIX_BALANCES, &mut deps.storage);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "98a4a18142bd66a14ee752fe1a3d5ff66ab94afeb94f0312bc695992eee683da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98a4a18142bd66a14ee752fe1a3d5ff66ab94afeb94f0312bc695992eee683da", kill_on_drop: false }`
[INFO] [stdout] 98a4a18142bd66a14ee752fe1a3d5ff66ab94afeb94f0312bc695992eee683da
